package com.sizu.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.sizu.entity.TMenu;
import com.sizu.entity.TRoleMenu;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Mht
 * @since 2020-02-22
 */
public interface TMenuMapper extends BaseMapper<TMenu> {

    List<TMenu> getMenuByUserName(String name);

    List<String> getMenuByRoleId(@Param("id") Integer id);

    List<TMenu> getMenu();
}
